﻿<%@ Import Namespace="Spirit.Portal.Core.Web"%>
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Session.IsAuthenticate())
    {
%>
        Welcome <b><%= Html.Encode(Session.GetPrincipal().Username) %></b>!
        [ <%= Html.ActionLink("Log Off", "LogOff", "Home") %> ]
<%
    }
    else {
%> 
        [ <%= Html.ActionLink("Log On", "Login", "Home") %> ]
<%
    }
%>
